# aliyun configure set --profile bolan --mode AK --region cn-shenzhen --access-key-id LTAI4FzZnzZ2g9EwKfEvLN73 --access-key-secret L9QDkOuj8p8e3eZawlLyQBoqInlqJT

provider "alicloud" {
  profile = "bolan"
  version = "1.151.0"
}

data "alicloud_db_instances" "db_instances_ds" {
  name_regex = "dev-saas"
  status     = "Running"
}

output "first_db_instance_id" {
  value = "${data.alicloud_db_instances.db_instances_ds.instances.0.parameters}"
}